<?php

class Model_InventoryItem extends ORM {

	protected $_table_name = 'inventory_items';
	
	protected $_has_many = array(
		'attributes' => array(
			'model' => 'inventoryItemAttribute',
			'foreign_key' => 'inventory_item_id'
			),
	);
	
	protected $_belongs_to = array(
		'item' => array(
			'model' => 'item',
			'foreign_key' => 'item_id',
			),
	);
}
